{if $addWord}
<h1>Dodawanie nowego słowa</h1>
{else}
<h1>Edycja</h1>
{/if}

<div class="mainOptions"><h2><a href="#" class="colapse">Ogólne</a></h2>
    <div class="optionContent" style="display: block;">
        <form action="" method="post" enctype="multipart/form-data">
            <table width="100%" cellspacing="0" cellpadding="0" border="0" class="commonTable">
                <tbody>
					<tr>
						<th><strong>Aktywne</strong></th>
						<td>
							{formField type="checkbox" name="active" id="active" obj='wordObj' value='1' func='getActive' errorClass="validate"}
						</td>
					</tr>
                    <tr>
                        <th><strong>Słowo</strong></th>
                        <td>
                            {formField type="text" name="word" id="word" obj='wordObj' func='getWord' errorClass="validate"}
                        </td>
                    </tr>

                </tbody>
            </table>
            <p align="right">
				<input type="submit" value="Anuluj" class="cancel" onclick="document.location.href='{url BadWords='Index'}'; return false;" />
                <input type="submit" value="Zapisz" name="" />
            </p>
        </form>
    </div>
</div>